package com.daou.smartpush.controller;

import java.util.ArrayList;
import java.util.List;
import java.util.Locale;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.daou.smartpush.domain.license.License;
import com.daou.smartpush.service.license.LicenseService;

@Controller
public class HomeController {

    @Autowired
    LicenseService licenseService;

//    @RequestMapping(value = "/", method = RequestMethod.GET)
//    public String home(Locale locale, Model model, HttpServletRequest request) {
//
//        List<License> license = new ArrayList<License>();
//        license = licenseService.getAllLicense();
//
//        request.setAttribute("license", license);
//        return "companyList";
//    }
}
